package com.th.pojo;

import org.junit.jupiter.api.Test;

import java.lang.annotation.Target;
import java.util.UUID;

/**
 * @author ThreePure
 * @date 20/12/18 18:49
 * @description:TODO
 * @since 1.8
 */
@SuppressWarnings("all")
public class IDutils {
    public static String getId(){
        return UUID.randomUUID().toString().replace("-", "");
    }

    @Test
    public void test(){
        System.out.println(IDutils.getId());
        System.out.println(IDutils.getId());
        System.out.println(IDutils.getId());
    }
}
